<template>
  <div>
    <template v-if="0">
      <el-image
        v-for="(item, index) in model.imgList"
        :key="index"
        class="existImg"
        :src="item"
        :preview-src-list="model.imgList"
      />
    </template>
    <el-image v-else class="noImg">
      <div slot="error">
        <i class="iconfont icon-Xm-zanwutupian" />
      </div>
    </el-image>
  </div>
</template>

<script>
export default {
}
</script>

<style lang="scss" scoped>
.existImg{
  width: 100px;
  height: 100px;
  margin-right: 6px;
  margin-bottom: 6px;
}
.noImg{
  position: relative;
  background-color: #f5f7fa;
  width: 100px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  .icon-Xm-zanwutupian{
    font-size: 50px;
  }
}
</style>

